package com.shop.dao;

import com.shop.bean.Admin;

public interface AdminDao {
	/**
	 * 通过账号和密码查找
	 * @param account
	 * @param password
	 * @return
	 */
	Admin selectAdmin(String account, String password);
	/**
	 * 通过账号查找
	 * @param account
	 * @return
	 */
	Admin selectAdminByName(String account);
}
